package com.xueyi.system.instrumentDetection.service.impl;

import com.xueyi.system.instrumentDetection.domain.query.InstrumentDetectionQuery;
import com.xueyi.system.instrumentDetection.domain.dto.InstrumentDetectionDto;
import com.xueyi.system.instrumentDetection.service.IInstrumentDetectionService;
import com.xueyi.system.instrumentDetection.manager.IInstrumentDetectionManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仪器检测管理 服务层处理
 *
 * @author zlf
 */
@Service
public class InstrumentDetectionServiceImpl extends BaseServiceImpl<InstrumentDetectionQuery, InstrumentDetectionDto, IInstrumentDetectionManager> implements IInstrumentDetectionService {

    /**
     * 查询仪器检测对象列表 | 数据权限 | 附加数据
     *
     * @param instrumentDetection 仪器检测对象
     * @return 仪器检测对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"InstrumentDetectionMapper"})
    public List<InstrumentDetectionDto> selectListScope(InstrumentDetectionQuery instrumentDetection) {
        return baseManager.selectListExtra(instrumentDetection);
    }

}